<?php
namespace Common\Model;
use Common\Common\Object;

/**
 * Class ConsumerObject
 * @package Common\Model
 *
 * @property int $ID
 * @property string $Username
 * @property string $Password
 *
 */
class AdminObject extends Object{

    public function fetchName($value){
        $admin=D('admin');
        return $admin->fetch($value);
    }
}